Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split GA4 event product_download into product specific events Fix #14072 #14083

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

stephaniehobson
Copy link
Contributor

@stephaniehobson stephaniehobson commented Jan 15, 2024

One-line summary

Split GA4 event product_download into product specific conversion events and keep product_download around for a few months to help compare before/after changes.

Significant changes and points to review

  • Send two events for each "Product Download": [product name]_download and product_download.
  • Update documentation.
  • Removed 'mobile' as a platform option. When adjust does not redirect to a specific store, platform is now empty.

Issue / Bugzilla link

Fix #14072
A task to remove the old product_download event has been added to #13238 (I'll flesh it out as a real issue once I have an idea of the timeline to remove it.)

Testing


  • new events are added to the dataLayer
  • old event are still added to the dataLayer
  • The documentation updates could really use a fresh set of eyes
  • I did not commit my event.preventDefault() I was using for debugging

@stephaniehobson stephaniehobson force-pushed the ga4_download branch 11 times, most recently from 9911c21 to b68981d Compare January 19, 2024 06:06
@stephaniehobson stephaniehobson changed the title Split GA4 event product_download into product specific conversion events Fix #14072 Split GA4 event product_download into product specific events Fix #14072 Jan 19, 2024
Copy link

codecov bot commented Jan 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (29ddd50) 77.07% compared to head (2bcd1b4) 77.07%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #14083   +/-   ##
=======================================
  Coverage   77.07%   77.07%           
=======================================
  Files         145      145           
  Lines        7886     7886           
=======================================
  Hits         6078     6078           
  Misses       1808     1808           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@stephaniehobson stephaniehobson marked this pull request as ready for review January 19, 2024 22:47
@stephaniehobson stephaniehobson added Needs Review Awaiting code review Review: S Code review time: 30 mins to 1 hour labels Jan 19, 2024
Copy link
Member

@alexgibson alexgibson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both new and old events seems to be logged as expected, r+

(we can hopefully remove all this adjust stuff soon anyways 🤞)

@stephaniehobson stephaniehobson merged commit b98c15e into main Jan 30, 2024
5 checks passed
@stephaniehobson stephaniehobson deleted the ga4_download branch January 30, 2024 20:45
@stephaniehobson stephaniehobson removed the Needs Review Awaiting code review label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Analytics 📈 Review: S Code review time: 30 mins to 1 hour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Split product_download into product specific conversion events
2 participants